package com.lmt.ymcc.service;

import com.lmt.ymcc.dto.CourseDoc;
import com.lmt.ymcc.dto.CourseEsSearchDto;
import com.lmt.ymcc.result.PageList;

/**
 * @Description: TODO
 * @Author: Amazing
 * @Date: 2022/8/14 15:38
 * @Version: 1.0
 */
public interface ICourseEsService {

    void saveCourse(CourseDoc doc);

    void delete(Long id);

    PageList<CourseDoc> search(CourseEsSearchDto dto);
}
